import xcRequest from '@/service/index.js'

export function getDeptRequest() {
  return xcRequest.get({
    url: '/dept/getAllDept.php'
  })
}
export function addDeptRequest(params) {
  return xcRequest.get({
    url: '/dept/addDept.php',
    params
  })
}
export function deteleDeptRequest(params) {
  return xcRequest.get({
    url: '/dept/delDept.php',
    params
  })
}
export function editDeptRequest(params) {
  return xcRequest.get({
    url: '/dept/updateDept.php',
    params
  })
}
